import createPersistedState from 'vuex-persistedstate';

const persistedStatePlugin = createPersistedState({
  storage: window.localStorage,
  key: window.storageKey || 'vuex'
});

export default [persistedStatePlugin];
